<template>
  <el-breadcrumb separator="/" style="height: 40px; line-height: 40px">
      <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item v-for="(item,index) in title" :key="index">{{item}}</el-breadcrumb-item>
     
    </el-breadcrumb>
   
</template>

<script>
export default {
created() {
  
},
computed:{
title(){
  return this.$route.meta.title;
}
},
}
</script>

<style>

</style>